package com.jxdinfo.hussar.activitidemo.service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.jxdinfo.hussar.activitidemo.bean.TdbYjMTypicalCase;

/**
 * 典型案例信息表 服务类
 * 
 * @author zzd
 *
 */
public interface ITdbYjMTypicalCaseService extends IService<TdbYjMTypicalCase> {

	/**
	 * 增加典型案例信息
	 * 
	 * @param info
	 * @return
	 */
	int insertinfo(TdbYjMTypicalCase info);

	/**
	 * 批量删除典型案例信息
	 * 
	 * @param ids
	 * @return
	 */
	int deleteById(TdbYjMTypicalCase info);

	/**
	 * 根据条件查询典型案例信息
	 * 
	 * @param regulationsInfo
	 * @return
	 */
	Page<TdbYjMTypicalCase> selectByCondition(Page<TdbYjMTypicalCase> regulationsInfo, Map<String, Object> info);

	/**
	 * 根据id更新典型案例信息
	 * 
	 * @param regulationsInfo
	 * @return
	 */
	int update(TdbYjMTypicalCase info);

	/**
	 * 批量修改状态信息
	 * 
	 * @param map
	 * @return
	 */
	int updateBatch(Map<String, Object> map);

	List initComplete(Map<String, Object> map);

	public String selectCountByCondition(Map<String, Object> map);

	List getHanyuList(Map<String, Object> map);

	int updatePinyin(Map<String, Object> map);
}
